import 'package:json_annotation/json_annotation.dart';

part 'brand_detail_entity.g.dart';

@JsonSerializable()
class BrandDetailEntity {
  double? floorPrice;
  String? picUrl;
  bool? deleted;
  String? addTime;
  int? sortOrder;
  String? name;
  String? updateTime;
  int? id;
  String? desc;

  BrandDetailEntity({
    this.floorPrice,
    this.picUrl,
    this.deleted,
    this.addTime,
    this.sortOrder,
    this.name,
    this.updateTime,
    this.id,
    this.desc,
  });

  factory BrandDetailEntity.fromJson(Map<String, dynamic> json) => _$BrandDetailEntityFromJson(json);
  
  Map<String, dynamic> toJson() => _$BrandDetailEntityToJson(this);
}